﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WaterRevenueMS.Componnent.Tools;
using WaterRevenueMS.Componnent.Entities.BaseData;
using WaterRevenueMS.Componnent.Entities.BasicSet;
using WaterRevenueMS.Componnent.Entities.ReadMeterMS;
using WaterRevenueMS.Componnent.Entities.Maintenance;
using WaterRevenueMS.Componnent.Entities.Charge;

namespace WaterRevenueMS.Componnent.Entities.Customer
{
    public class MeterInfo : EntityBase<int>
    {
        public MeterInfo()
        {

        }
        public int? Yong_HSZ_No { get; set; }
        public int? Biao_CSZ_No { get; set; }
        public int? Shou_FFS_No { get; set; }
        public int? Yong_SLX_No { get; set; }
        public int? Yi_BLX_No { get; set; }
        public int? Zhong_JLX_No { get; set; }
        public string Zhong_JDZ { get; set; }
        public byte Zhong_JTD { get; set; }
        public int? Ji_ZQLX_No { get; set; }
        public string Ji_ZQDZ { get; set; }
        public byte Ji_ZQTD { get; set; }
        public int? Shou_CQLX_No { get; set; }
        public string Shou_CQBH { get; set; }
        public int? Shui_BKJ_No { get; set; }
        public int? Shui_BCS_No { get; set; }
        public string Yi_BMC { get; set; }
        public string Yi_BBH { get; set; }
        public string Yi_BDZ { get; set; }
        public byte Yi_BDD { get; set; }
        public float Bei_L { get; set; }
        public string Qian_FH { get; set; }
        public string An_ZWZ { get; set; }
        public DateTime? Qi_YRQ { get; set; }
        public float Biao_LJZ { get; set; }
        public int Man_CCS { get; set; }
        public int Fan_BCS { get; set; }
        public string Tong_XZT { get; set; }
        public string Yi_BZT { get; set; }
        public string Fa_MZT { get; set; }
        public string Shu_JZT { get; set; }
        public DateTime? CreateDT { get; set; }
        public DateTime? ReviseDT { get; set; }
        public int OrderNo { get; set; }
        public int? RMeter_No { get; set; }
        public int Chao_BND { get; set; }
        public byte Chao_BYD { get; set; }

        public DateTime? Chao_BDTBC { get; set; }
        public float Du_SBQ { get; set; }
        public DateTime? Chao_BDTSC { get; set; }
        public float Du_SSQ { get; set; }
        public float Du_SBC { get; set; }
        public byte Shi_FJS { get; set; }
        public DateTime? Jie_SDT { get; set; }
        public float Yong_LBC { get; set; }
        public float Yong_LTZ { get; set; }
        public float Yong_LBQ { get; set; }
        public float Ji_FBC { get; set; }
        public float Fei_YTZ { get; set; }
        public float Ji_FBQ { get; set; }
        public float Yong_L01 { get; set; }
        public float Yong_L02 { get; set; }
        public float Yong_L03 { get; set; }
        public float Yong_L04 { get; set; }
        public float Yong_L05 { get; set; }
        public float Yong_L06 { get; set; }
        public float Yong_L07 { get; set; }
        public float Yong_L08 { get; set; }
        public float Yong_L09 { get; set; }
        public float Yong_L10 { get; set; }
        public float Yong_L11 { get; set; }
        public float Yong_L12 { get; set; }
        public int? Zhuang_T { get; set; }

        public virtual MeterBook MeterBook { get; set; }//表册
        public virtual Customer Customer { get; set; }//用户信息
        public virtual WayOfCharge WayOfCharge { get; set; }//收费代码
        public virtual KindOfWaterUse KindOfWaterUse { get; set; } //用水类型
        public virtual MeterType MeterType { get; set; } //仪表类型
        public virtual WaterCaliber WaterCaliber { get; set; } //水口径
        public virtual RelayType RelayType { get; set; } //中继
        public virtual ConcentratorType ConcentratorType { get; set; } //集中器
        public virtual HandSetType HandSetType { get; set; } //手抄表
        public virtual Manufacturer Manufacturer { get; set; } //水表厂商
        public ICollection<MeterRecord> MeterRecords { get; set; }
        public virtual TaskTemplet TaskTemplete { get; set; }

		public ICollection<MeterTask> MeterTask { get; set; }//表操作历史
        public ICollection<RepairRecord> RepairRecord { get; set; }//表操作历史   
        public ICollection<WaterUseChange> WaterUseChange { get; set; }
        public ICollection<WaterChargeChange> WaterChargeChange { get; set; }


    }
}
